Conversation
blocked by permission api
|
fabric.mod.json: The "minecraft": ">=${minecraft}"Also, the "fabric-api": ">=${fabricApi}" |
|
DatabaseManager.kt:
Example: player joins as "Alice" → Fix: use // line 143 (setupCache)
cache.playernameKeys.forcePut(it.playerName, it.id.value)
// line 485 (insertOrUpdatePlayer, existing player branch)
cache.playernameKeys.forcePut(name, player.id.value)
// line 492 (insertOrUpdatePlayer, new player branch)
cache.playernameKeys.forcePut(name, entity.id.value) |
|
DatabaseManager.kt: In The Consider a safer approach, at minimum for the type.sourceProfile = action.getOrNull(Tables.Actions.sourcePlayer)?.let {
val uuid = playerCache[it.value]
val name = playerNameCache[it.value]
if (uuid != null && name != null) NameAndId(uuid, name) else null
} |
I had to make a bunch of changes to gradle, to support unobfuscated versions and jvm 25!
detekt had to be updated to version 2, which has a new config format, so the config was regenerated and adjusted to be similar to the previous one (unfortunately I noticed the trailing comma rule to late and it auto correct them, I don't know if we want to keep this)!
This is currently blocked by permission api not being updated yet